package com.example.chongwushangcheng.model;

/**
 * 宠物交流帖子数据模型
 */
public class PetPost {
    private int imageResId; // 帖子图片资源ID
    private String title; // 帖子标题
    private String userName; // 发布用户名
    private String userAvatar; // 用户头像文字
    private int viewCount; // 浏览次数

    public PetPost(int imageResId, String title, String userName, String userAvatar, int viewCount) {
        this.imageResId = imageResId;
        this.title = title;
        this.userName = userName;
        this.userAvatar = userAvatar;
        this.viewCount = viewCount;
    }

    public int getImageResId() {
        return imageResId;
    }

    public void setImageResId(int imageResId) {
        this.imageResId = imageResId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public int getViewCount() {
        return viewCount;
    }

    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }
} 